//
//  Shape.m
//  享元模式
//
//  Created by flannery on 2018/12/18.
//  Copyright © 2018年 flannery. All rights reserved.
//

#import "Shape.h"

@implementation Circle
- (instancetype)initWithColor:(NSString *)color{
    if(self = [super init]) {
        self.color = color;
    }
    return self;
}

- (void)draw{
    NSLog(@"Circle: Draw() [Color : %@, x : %d, y : %d, radius : %d", self.color, self.x, self.y, self.radius);
}
@end
